The crPESetGraphOptions function changes the display options set for the specified graph in the specified section. Use this function to change any of several graph options. These options include the minimum and maximum values that can appear on the graph, whether grid lines appear, whether risers are labeled, whether bar graphs have horizontal or vertical bars, and whether a legend appears on the graph.
Declare Function crPESetGraphOptions Lib "crwrap32.dll" (ByVal printJob As Integer, ByVal sectionCode As Integer, ByVal GraphN As Integer, ByVal GraphMaxValue As Double, ByVal GraphMinValue As Double, ByVal ShowDataValue As Long, ByVal ShowGridLine As Long, ByVal VerticalBars As Long, ByVal ShowLegend As Long, ByVal FontFaceName As String) As Integer
Specifies the handle of the print job for the report containing the graph you are changing. | |
Specifies the code for the report section in which the graph appears. See the table of section constants supplied in the Working with section codes topic. | |
Specifies which graph within the section you want to change. This value is 0 indexed. Within a section, graphs are numbered from top to bottom, first, then from left to right if they have the same top. | |
Specifies the maximum value that will appear in the graph. Any graph values above this value are not charted. | |
Specifies the minimum value that will appear in the graph. Any graph values below this value are not charted. | |
Specifies whether or not to display the numerical value associated with each riser on the chart. If set to TRUE (1), a value appears in the graph for each riser. | |
Specifies whether or not to display grid lines on the graph. | |
Specifies whether to display the bars in a bar graph vertically or horizontally. | |
Specifies the font for all text and values in the entire graph. |
TRUE (1) if the call is successful, FALSE (0) if the call fails.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |